﻿using System.Configuration;
using RockBus.MessageRepository.Interfaces;

namespace RockBus.MessageRepository.SqlServer
{
    public class DbMessageRepositoryConfiguration : IDbMessageRepositoryConfiguration
    {
        public DbMessageRepositoryConfiguration()
        {
            this.ConnectionString = ConfigurationManager.ConnectionStrings["RockBusDb"].ConnectionString;
        }

        public string ConnectionString { get; private set; }
    }
}